$(function() {
    table.option={
        editUrl : "/users/edit",
        addUrl : "/users/addInfo",
        searchUrl:"/users/search",
        datatype: {
            inputType:"user",
            checkboxType:"roleList",
            roleType: "roleName"
        },//设置编辑 增加像后台发送的数据key的值
        selectoption: [            //设置一项id为下拉框的形式
            {
                id: "unit",
                option: [0, 1],
                showoption: ["否", "是"]
            },
            {
                id: "gender",
                option: [0, 1],
                showoption: ["否", "是"]
            }]
    }
    table.loadding();

    modelSave.option={
        addSave:"/users/addSave",
        ediSave:"/users/edit/ok",
        delSave:"/users/del"
    }
    modelSave.loadding();

    pagination.option={
        isPagination:false,
        firstPagination:"users/first",
        lastPagination:"users/last",
        prePagination:"users/pre",
        nextPagination:"users/next"
    }
    pagination.loadding();
})